﻿/**
 * @author sminutoli
 * Clase que representa las secciones de un menú
 * 
 */
 
import com.dinmax.axiomaweb.buttonbar.section.SectionItem;

class com.dinmax.axiomaweb.buttonbar.section.Section {
	
	private var name:String;
	private var label:String;
	private var link:String;
	private var sectionItems:Array; // de SectionItem
	
	public function Section() {
		sectionItems = new Array();
	}
	
	public function getLink():String {
		return link;
	}

	public function setLink(link:String):Void {
		this.link = link;
	}

	public function getLabel():String {
		return label;
	}

	public function setLabel(label:String):Void {
		this.label = label;
	}

	public function getName():String {
		return name;
	}

	public function setName(name:String):Void {
		this.name = name;
	}

	public function getSectionItems():Array {
		return sectionItems;
	}

	public function addSectionItem(sectionItem:SectionItem):Void {
		this.sectionItems.push(sectionItem);
	}

}